﻿<%@ Page Language="c#" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%;">
<head runat="server">
    <title>ICE Version 0.1a</title>
</head>
<body style="height:100%;margin:0;">
    <form id="form1" runat="server" style="height:100%; width:100%;">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div  style="height:100%;">

        </div>
    </form>
    
    <script type="text/javascript" language="javascript">
        function addLetter() {
            
            var letter = document.getElementById("myTextArea").value;
            document.getElementById("myTextArea").value = "";
            var ICE = document.getElementById("ICE");
            ICE.Content.JS2SL_Bridge.Load("http://localhost:8000/iceNodeStyles2.xml");
        }
    </script>
    add a letter in this ICE map by typing a letter: <input type="text" id="myTextArea" onkeyup="addLetter()"/>
    
</body>
</html>
